import request from "../../http";
const feedBackApi = {
  async getFeedBackData(query) {
    return request({
      url: "/api/suggest/back/list",
      method: "get",
      params: query
    });
  },
  async queryFeedBackData(query) {
    return request({
      url: "/api/suggest/back/list",
      method: "get",
      params: query
    });
  },
  async getFeedBackDetail(suggestId) {
    return request({
      url: `/api/suggest/${suggestId}`,
      method: "get"
    });
  }
};

export default feedBackApi;
